module.exports = {
  productionSourceMap: false,
  devServer: {
    port: 8080,
    open: true,
    overlay: {
      warnings: false,
      errors: true
    },
    proxy: {
      // change xxx-api/login => mock/login
      '/': {
        target: `https://xy.bufanui.com`,
        changeOrigin: true,
        pathRewrite: {
          ['^' + '']: ''
        }
      }
    }
  }
}